package com.blogs.web.game.type;

import com.blogs.web.game.Game;

/**
 * @Author: xiaokai
 * @Description: 外星蟑螂兵
 * @Date: 2019/8/18
 * @Version: 1.0
 */
public class Roach extends Game {

    public Roach(int x, int y) {
        super(5, 2, 35, x, y);
    }

    @Override
    public void show() {
        System.out.println("蟑螂兵出现在坐标：[" + x + "," + y + "]");
    }

    @Override
    public void attack() {
        System.out.println("蟑螂兵用爪子挠，攻击力：" + attack);
    }
}
